package com.sunnada.edu.business.setProcess.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface ProcessService {
	/***
	 * explain 总数量
	 * @param params
	 * @return int
	 */
	public int getProcessInfoCots(HashMap<String, String> params);
	/**
	 * explain 查询功能  
	 * @param params
	 * @return List<?>
	 */
	public List<?> findProcessInfo(HashMap<String, String> params);
	/***
	 * explain 流程删除 
	 */
	public String processDel(HashMap<String, String> params);
	/***
	 * explain 流程添加保存
	 */
	public String processAdd(HashMap<String, String> params);
	/***
	 * explain 流程修改保存
	 */
	public String processUpdate(HashMap<String, String> params);
	/***
	 * explain 流程添加保存
	 */
	public Map getProcessByRecId(HashMap<String, String> params);
	/*
	 * 流程列表查询
	 */
	public List<?> getProcessList(HashMap<String, String> params);
	/*
	 * 获取审核人员
	 */
	public List<?> getProcessPerson(HashMap<String, String> params);
	/*
	 * 获取审核人员人数
	 */
	public int getProcessPersonCots(HashMap<String, String> params);
	/*
	 * 审批流程查询
	 */
	public List<?> getProcessInfo(HashMap<String, String> params);
	
	public String startProcess(HashMap<String, String> params);
	/*
	 * 跳转审批详情页
	 */
	public String getDetailPage(HashMap<String, String> params);
	/*
	 * 审核
	 */
	public String audit(HashMap<String, String> params);
	/*
	 * 获取审核流程ID
	 */
	public String getProcessId(HashMap<String, String> params);
	/*
	 * 根据id获取申请单流程的基本情况
	 */
	public List<?> getProcessConditionByrecid(HashMap<String, String> params);
	/*
	 * 流程员工驳回功能
	 */
	public String reject(HashMap<String, String> params);
	/*
	 * 获取待处理流程数
	 */
	public Map getNoDealWithNumber(HashMap<String, String> params);
	
}
